<template>
  <div>
    <div>home</div>
    <div>{{$store.state.count}}</div>
    <button @click="$store.commit('setState')">+</button>
    <el-button type="primary">主要按钮</el-button>
  </div>
</template>

<script setup>
import { useRoute, useRouter } from 'vue-router'
const route = useRoute() // 当前路由信息对象
const router = useRouter() // 全局路由实例
console.log(import.meta.env, 9999)
console.log(route.path, 'route')
console.log(router, 'router')
</script>

<style>

</style>